/* ----------------------------------------------------------------
    Modify     : PC,手机活动页面调用样式
    Created on : 2019-8-13, 15:07:00 / 2019-9-2, 15:07:00
    Author     : Snake
    Version    : 3.0 / 4.0
-----------------------------------------------------------------*/
/* ----------------------------------------------------------------
    通用代码
-----------------------------------------------------------------*/
.font-center {
    text-align: center;
}

.font-withe {
    color: #fff;
}

.shop_title {
    display: inline-block;
    width: 100%;
}

.shop_cont {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
}

/* ----------------------------------------------------------------
    第一层
-----------------------------------------------------------------*/
.wechat_shop_one {
    display: inline-block;
    width: 100%;
    margin-top: 20px;
}

/*
.shop_one_list ul {
    display: flex;
    flex-wrap: wrap;
}
*/

.shop_one_list ul li {
    position: relative;
    width: 366px;
    height: 220px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.shop_one_list ul li:nth-child(3n+3) {
    margin-right: 0;
}

.shop_one_list ul li .shop_one_title {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 5px;
    background: rgba(0, 0, 0, 0.5);
}

.shop_one_list ul li .shop_one_title p {
    font-size: 28px;
    color: #fff;
    margin-top: 70px;
    text-align: center;
}

.shop_one_list ul li .shop_one_title span {
    font-size: 16px;
    color: #fff;
    margin-top: 18px;
    text-align: center;
    display: block;
}

.shop_one_list ul li:nth-child(1) {
    background: url(../images/wechat_shop/shop_one_icon1.png);
    background-size: cover;
}

.shop_one_list ul li:nth-child(2) {
    background: url(../images/wechat_shop/shop_one_icon2.png);
}

.shop_one_list ul li:nth-child(3) {
    background: url(../images/wechat_shop/shop_one_icon3.png);
}

.shop_one_list ul li:nth-child(4) {
    background: url(../images/wechat_shop/shop_one_icon4.png);
}

.shop_one_list ul li:nth-child(5) {
    background: url(../images/wechat_shop/shop_one_icon5.png);
}

.shop_one_list ul li:nth-child(6) {
    background: url(../images/wechat_shop/shop_one_icon6.png);
}

.shop_one_list ul li .shop_one_txt {
    display: none;
    position: absolute;
    width: 100%;
    height: 220px;
    color: #fff;
    z-index: 10;
    left: 0;
    padding: 10px 10px;
    background: -webkit-linear-gradient(left, #ff7200, #ff9630);
    background: -o-linear-gradient(right, #ff7200, #ff9630);
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(right, #ff7200, #ff9630);
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to right, #ff7200, #ff9630);
    /* 标准的语法 */
}

.shop_one_list ul li .shop_one_txt .shop_one_ztitle {
    font-size: 21px;
    text-align: center;
    margin-top: 30px;
}

.shop_one_list ul li .shop_one_txt p {
    font-size: 15px;
    padding: 10px 20px;
}

.shop_one_list ul li .shop_one_txt .shop_one_more {
    width: 100px;
    height: 36px;
    line-height: 36px;
    display: block;
    margin: 0 auto;
    border: 1px solid #fff;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.shop_one_list ul li:hover .shop_one_txt {
    display: block;
    top: 0;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
}

/* ----------------------------------------------------------------
    第二层
-----------------------------------------------------------------*/
.wechat_shop_two {
    /*height: 520px;*/
    margin-top: 30px;
    padding: 50px 0;
    background: url(../images/wechat_shop/shop_two_bg.png) no-repeat center;
}

.shop_two_list {
    display: inline-block;
    width: 100%;
}

.shop_two_list li {
    width: 270px;
    height: 100px;
    float: left;
    margin: 0 20px 15px 0;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background: #fff;
}

.shop_two_list li:nth-child(4n+4) {
    margin-right: 0;
}

.shop_two_list .two_list_img {
    width: 84px;
    float: left;
}

.shop_two_list .two_list_img i.two_list_icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 18px auto 0 auto;
    background: url(../images/wechat_shop/shop_two_icon.png) no-repeat;
}

.shop_two_list li:hover .two_list_img i.two_list_icon {
    animation: swing 1s;
    -webkit-animation: swing 1s;
}

/* 1-4 */
.shop_two_list .two_list_img i.two_icon1 {
    background-position: -10px -10px;
}

.shop_two_list .two_list_img i.two_icon2 {
    background-position: -94px -10px;
}

.shop_two_list .two_list_img i.two_icon3 {
    background-position: -178px -10px;
}

.shop_two_list .two_list_img i.two_icon4 {
    background-position: -262px -10px;
}

/* 5-8 */
.shop_two_list .two_list_img i.two_icon5 {
    background-position: -346px -10px;
}

.shop_two_list .two_list_img i.two_icon6 {
    background-position: -430px -10px;
}

.shop_two_list .two_list_img i.two_icon7 {
    background-position: -514px -10px;
}

.shop_two_list .two_list_img i.two_icon8 {
    background-position: -598px -10px;
}

/* 9-12 */
.shop_two_list .two_list_img i.two_icon9 {
    background-position: -682px -10px;
}

.shop_two_list .two_list_img i.two_icon10 {
    background-position: -766px -10px;
}

.shop_two_list .two_list_img i.two_icon11 {
    background-position: -850px -10px;
}

.shop_two_list .two_list_img i.two_icon12 {
    background-position: -934px -10px;
}

.shop_two_list .two_list_txt {
    width: 175px;
    float: right;
}

.shop_two_list .two_list_txt h4 {
    color: #373a41;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 8px;
}

.shop_two_list .two_list_txt p {
    color: #666;
}

/* ----------------------------------------------------------------
    第三层
-----------------------------------------------------------------*/
.wechat_shop_three {
    display: inline-block;
    width: 100%;
    margin: 50px 0 0 0;
}

.shop_three_list {
    display: inline-block;
    width: 100%;
}

.shop_three_list li {
    position: relative;
    width: 270px;
    float: left;
    margin: 0 20px 30px 0;
    padding: 20px 20px 40px 20px;
    bottom: 0;
    border: 1px solid #dcdcdc;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.shop_three_list li:hover {
    bottom: 10px;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.shop_three_list li:nth-child(4n+4){
    margin-right: 0;
}

.shop_three_list .three_list_img {
    width: 100%;
    text-align: center;
}

.shop_three_list .three_list_img i.three_list_icon {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    background: url(../images/wechat_shop/shop_two_icon.png) no-repeat;
}

/* 1-4 */
.shop_three_list .three_list_img i.three_icon1 {
    background-position: -1018px -10px;
}

.shop_three_list .three_list_img i.three_icon2 {
    background-position: -1114px -10px;
}

.shop_three_list .three_list_img i.three_icon3 {
    background-position: -1210px -10px;
}

.shop_three_list .three_list_img i.three_icon4 {
    background-position: -1306px -10px;
}

/* 5-8 */
.shop_three_list .three_list_img i.three_icon5 {
    background-position: -1402px -10px;
}

.shop_three_list .three_list_img i.three_icon6 {
    background-position: -1498px -10px;
}

.shop_three_list .three_list_img i.three_icon7 {
    background-position: -1594px -10px;
}

.shop_three_list .three_list_img i.three_icon8 {
    background-position: -1690px -10px;
}

.shop_three_list .three_list_txt {
    text-align: center;
}

.shop_three_list .three_list_txt h4 {
    color: #373a41;
    font-weight: 700;
    margin-top: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.shop_three_list .three_list_txt p {
    color: #666;
    margin-top: 15px;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ----------------------------------------------------------------
    第四层
-----------------------------------------------------------------*/
.wechat_shop_four {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
    padding: 50px 0;
    background: #22b363;
}

/* ----------------------------------------------------------------
    第五层
-----------------------------------------------------------------*/
.wechat_shop_five {
    display: inline-block;
    width: 100%;
    margin: 60px 0 0px 0;
}

.shop_five_list {
    display: inline-block;
    width: 100%;
}

.shop_five_list li {
    width: 180px;
    text-align: center;
    float: left;
    margin-right: 12px;
}

.shop_five_list li:last-child {
    margin-right: 0;
}

.shop_five_list .five_list_img {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.shop_five_list .five_list_img img {
    width: 100%;
    transition: all 1.2s;
    -moz-transition: all 1.2s;
    -webkit-transition: all 1.2s;
    -o-transition: all 1.2s;
}

.shop_five_list .five_list_txt {
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
}

.shop_five_list li:hover .five_list_img img {
    transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
}

/* ----------------------------------------------------------------
        根据分辨率来判断显示
-----------------------------------------------------------------*/
@media screen and (min-width: 1155px) {
    /* ----------------------------------------------------------------
        通用代码
    -----------------------------------------------------------------*/
    .cont-pc {
        display: block;
    }

    .cont-mobile {
        display: none;
    }
}

@media screen and (max-width: 1150px) {
    /* ----------------------------------------------------------------
        通用代码
    -----------------------------------------------------------------*/
    .cont-pc {
        display: none;
    }

    .cont-mobile {
        display: block;
    }

    .bdshare-slide-button-box {
        display: none!important;
    }

    .shop_title {
        /*margin-bottom: 10px;*/
    }

    .shop_title h2 {
        font-size: 16px;
        font-weight: bold;
        /*text-overflow: ellipsis;*/
        /*white-space: nowrap;*/
        /*overflow: hidden;*/
    }

    .shop_title h2 span {
        position: relative;
        display: inline-block;
        width: 30px;
        height: 2px;
        top: -6px;
        background: #2d2d2d;
    }

    .font-withe h2 span {
        background: #fff;
    }

    .shop_title p {
        margin-top: 5px;
    }

    .shop_cont {
        margin-top: 10px;
    }

    /* ----------------------------------------------------------------
        第一层
    -----------------------------------------------------------------*/
    .shop_one_list {
        display: inline-block;
        width: 100%;
    }

    /* 本身显示 */
    .shop_one_list ul li {
        position: relative;
        width: 48%;
        height: 135px;
        margin-right: 4%;
        margin-bottom: 20px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .shop_one_list ul li:nth-child(3) {
        margin-right: 3%!important;
    }

    .shop_one_list ul li:nth-child(2n+2) {
        margin-right: 0;
        float: right;
    }

    .shop_one_list ul li .shop_one_title p {
        font-size: 18px;
        margin-top: 30px;
    }

    .shop_one_list ul li .shop_one_title span {
        font-size: 14px;
        margin-top: 10px;
    }

    /* 点击显示 */
    .shop_one_list ul li .shop_one_txt {
        padding: 15px 10px;
    }

    .shop_one_list ul li .shop_one_txt .shop_one_ztitle {
        display: none;
    }

    .shop_one_list ul li .shop_one_txt p {
        height: 104px;
        padding: 0;
        overflow: hidden;
        word-wrap: break-word;
        text-overflow: ellipsis;
        /*display: -webkit-box;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    /* ----------------------------------------------------------------
        第二层
    -----------------------------------------------------------------*/
    .wechat_shop_two {
        margin-top: 15px;
        background: url(../images/wechat_shop/shop_two_bg.png) no-repeat;
    }

    .wechat_shop_two .shop_two_list {
        margin-top: 10px;
    }

    .shop_two_list li {
        width: 48%;
        height: 100%;
        float: left;
        margin-right: 4%;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .shop_two_list li:nth-child(2n+2) {
        float: right;
        margin-right: 0;
    }

    .shop_two_list .two_list_img {
        width: 100%;
        text-align: center;
    }

    .shop_two_list .two_list_img i.two_list_icon {
        margin: 0 auto;
    }

    .shop_two_list .two_list_txt {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* ----------------------------------------------------------------
        第三层
    -----------------------------------------------------------------*/
    .wechat_shop_app {
        display: inline-block;
        width: 100%;
        margin-top: 0;
        padding: 30px 0 20px 0;
    }

    .shop_app_list li {
        position: relative;
        width: 48%;
        height: 100%;
        float: left;
        text-align: center;
        margin-right: 4%;
        margin-bottom: 20px;
        padding: 20px 10px;
        border: 1px solid #eee;
    }

    .shop_app_list li:nth-child(2n+2) {
        float: right;
        margin-right: 0;
    }

    .shop_app_list .shop_app_txt h4 {
        color: #424242;
        margin: 20px 0;
    }

    .shop_app_list .shop_app_txt p {
        color: #999;
    }

    /* ----------------------------------------------------------------
        第四层
    -----------------------------------------------------------------*/
    .wechat_shop_develop {
        margin-top: 0;
        padding: 20px 0;
        background: #f1f1f1;
    }

    .wechat_shop_develop .shop_develop_list {
        display: inline-block;
        width: 100%;
    }

    .shop_develop_list li {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 97px;
        color: #fff;
        margin-bottom: 10px;
        padding: 15px 10px;
    }

    .shop_develop_list li:nth-child(1){
        background: url("../images/mobile/shop_develop_bg1.jpg") no-repeat center;
        background-size: cover;
    }

    .shop_develop_list li:nth-child(2){
        background: url("../images/mobile/shop_develop_bg2.jpg") no-repeat center;
        background-size: cover;
    }

    .shop_develop_list li:nth-child(3){
        background: url("../images/mobile/shop_develop_bg3.jpg") no-repeat center;
        background-size: cover;
    }

    .shop_develop_list li:nth-child(4){
        background: url("../images/mobile/shop_develop_bg4.jpg") no-repeat center;
        background-size: cover;
    }

    .shop_develop_list li:last-child {
        margin-bottom: 0;
    }

    .shop_develop_list .shop_develop_img {
        position: relative;
        width: 16%;
        float: left;
        margin-top: 5px;
    }

    .shop_develop_list .shop_develop_img img {
        position: relative;
        width: 100%;
    }

    .shop_develop_list .shop_develop_txt {
        width: 80%;
        float: right;
    }

    .shop_develop_list .shop_develop_txt h4 {
        font-size: 16px;
        margin: 0 0 10px 0;
    }

    .shop_develop_list .shop_develop_txt p {
        height: 40px;
        overflow: hidden;
        word-wrap: break-word;
        text-overflow: ellipsis;
        /*display: -webkit-box;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;

    }

    /* ----------------------------------------------------------------
        第五层
    -----------------------------------------------------------------*/
    .wechat_shop_five {
        margin: 30px 0 0 0;
    }

    .shop_five_list li {
        width: 48%;
        float: left;
        margin-right: 4%;
        margin-bottom: 15px;
    }

    .shop_five_list li:nth-child(2n+2) {
        float: right;
        margin-right: 0;
    }

    .shop_five_list .five_list_img img {
        width: 100%;
        transition: all 1.2s;
        -moz-transition: all 1.2s;
        -webkit-transition: all 1.2s;
        -o-transition: all 1.2s;
    }

    .shop_five_list .five_list_txt {
        margin-top: 5px;
    }

    .shop_five_list li:hover .five_list_img img {
        transform: scale(1.2);
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
    }

}